home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wlib11_2.zip / EXAMPLES.EXE / EXAM7.C < prev    next >
Text File  |  1991-03-23  |  547b  |  21 lines

  1.   #include "window.h"
  2.  
  3.   #define NORM   CREATE_VIDEO_ATTRIBUTE(black,white)
  4.  
  5.   WPOINTER w;
  6.  
  7.   main()
  8.   {
  9.     WindowInitializeSystem();
  10.     WindowSaveInitial(0);
  11.     w = WindowInitialize(BORDER,1,1,10,10,NORM,NORM,SINGLEBOX);
  12.     WindowOpen(w);
  13.     WindowDisplay(w,1,NOEFFECT);
  14.     GET_KEY();
  15.     WindowResizeWidth(w,15,ANCHORLEFT);  /* Resize the window with a new height
  16.                                             of 15 */
  17.     GET_KEY();
  18.     WindowResizeHeight(w,5,ANCHORTOP);  /* Resize window with new height of 5 */
  19.  
  20.   }
  21.